package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.CustomerDepositGift;
import cc.yugu.yhdw.common.persistence.MasterMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 充值优惠映射
 *
 * @Date:Created in 2018/6/28 11:52
 * @Author:
 * @Modified By: zjn 2018/6/28 11:52
 */
public interface CustomerDepositGiftMapper extends MasterMapper {
    /**
    * 查询表bas_customer_deposit_gift中信息,并按照金额升序排列
    *
    * @Param: []
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.basic.CustomerDepositGift>
    * @Author By: zjn 2018/6/28  11:53
    */
    public List<CustomerDepositGift> findAll();
    /**
    * 往表中插入对应数据
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/28  11:54
    */
    public int insert(CustomerDepositGift entity);
    /**
    * 删除表
    *
    * @Param: []
    * @Return: int
    * @Author By: zjn 2018/6/28  11:55
    */
    public int clear();
}
